package com.blockmeta.bbs.immodule.net.api;

import com.blockmeta.bbs.businesslibrary.net.pojo.BaseImResponse;
import com.blockmeta.bbs.immodule.net.pojo.CircleDetailResponse;

import java.util.Map;

import io.reactivex.Flowable;
import retrofit2.http.GET;
import retrofit2.http.QueryMap;

/**
 * @author AirThor
 * @date 2019/3/26.
 */
public interface UpdateCircleApi {
    /**
     * 修改圈子
     * @see <a hreh="https://gitee.com/btc8/appserver/wikis/IM?sort_id=1348722#33-%E6%96%B0%E5%BB%BA%E5%9C%88%E5%AD%90-chatgroupcreatechatgroup-get"/>
     * @param params 创建圈子需要的参数 详见上面链接
     * @return 返回响应数据
     */
    @GET("im/chatGroup/updateChatGroup")
    Flowable<BaseImResponse<CircleDetailResponse>> updateChatGroup(@QueryMap Map<String, String> params);
}
